<template>
  <div>
    地图
    <baidu-map class="bm-view" ak="2NUYl0V4ZeSzyQIS6RnAoTFy7fH9GWkd"  center="北京">
    </baidu-map>
  </div>

</template>
<script>
import BaiduMap from 'vue-baidu-map/components/map/Map.vue'
export default {
  components: {
    BaiduMap
  }
}
</script>

<style scoped>
.bm-view {
  width: 100%;
  height: 300px;
}
</style>
